package com.zoroki.hmusic;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

@SpringBootApplication
//@MapperScan("com.zoroki.hmusic.mapper")
@EnableCaching
@EnableElasticsearchRepositories(basePackages = {"com.zoroki.hmusic.es"})
public class HMusicBackendApplication {
    public static void main(String[] args) {
        SpringApplication.run(HMusicBackendApplication.class, args);
    }
}
